package com.ruoyi.buy.domain.entity.PO;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物流明细对象 buy_purchase_post_item
 * 
 * @author ruoyi
 * @date 2023-12-18
 */
public class BuyPurchasePostItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 主表ID */
    @Excel(name = "主表ID")
    private Long nMainId;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String vBillNo;

    /** 零件代码 */
    @Excel(name = "零件代码")
    private String vSpa;

    /** 零件名称 */
    @Excel(name = "零件名称")
    private String vSpaName;

    /** 类型 */
    @Excel(name = "类型")
    private String vKind;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String vSpaModel;

    /** 品牌 */
    @Excel(name = "品牌")
    private String vSpaBrand;

    /** 单位 */
    @Excel(name = "单位")
    private String vUnit;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal nQty;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String vProjectNo;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String vProjectDec;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String vContractNo;

    private BigDecimal nThisQty;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setnMainId(Long nMainId) 
    {
        this.nMainId = nMainId;
    }

    public Long getnMainId() 
    {
        return nMainId;
    }
    public void setvBillNo(String vBillNo) 
    {
        this.vBillNo = vBillNo;
    }

    public String getvBillNo() 
    {
        return vBillNo;
    }
    public void setvSpa(String vSpa) 
    {
        this.vSpa = vSpa;
    }

    public String getvSpa() 
    {
        return vSpa;
    }
    public void setvSpaName(String vSpaName) 
    {
        this.vSpaName = vSpaName;
    }

    public String getvSpaName() 
    {
        return vSpaName;
    }
    public void setvKind(String vKind) 
    {
        this.vKind = vKind;
    }

    public String getvKind() 
    {
        return vKind;
    }
    public void setvSpaModel(String vSpaModel) 
    {
        this.vSpaModel = vSpaModel;
    }

    public String getvSpaModel() 
    {
        return vSpaModel;
    }
    public void setvSpaBrand(String vSpaBrand) 
    {
        this.vSpaBrand = vSpaBrand;
    }

    public String getvSpaBrand() 
    {
        return vSpaBrand;
    }
    public void setvUnit(String vUnit) 
    {
        this.vUnit = vUnit;
    }

    public String getvUnit() 
    {
        return vUnit;
    }
    public void setnQty(BigDecimal nQty) 
    {
        this.nQty = nQty;
    }

    public BigDecimal getnQty() 
    {
        return nQty;
    }
    public void setvProjectNo(String vProjectNo) 
    {
        this.vProjectNo = vProjectNo;
    }

    public String getvProjectNo() 
    {
        return vProjectNo;
    }
    public void setvProjectDec(String vProjectDec) 
    {
        this.vProjectDec = vProjectDec;
    }

    public String getvProjectDec() 
    {
        return vProjectDec;
    }
    public void setvContractNo(String vContractNo) 
    {
        this.vContractNo = vContractNo;
    }

    public String getvContractNo() 
    {
        return vContractNo;
    }

    public BigDecimal getnThisQty() {
        return nThisQty;
    }

    public void setnThisQty(BigDecimal nThisQty) {
        this.nThisQty = nThisQty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nMainId", getnMainId())
            .append("vBillNo", getvBillNo())
            .append("vSpa", getvSpa())
            .append("vSpaName", getvSpaName())
            .append("vKind", getvKind())
            .append("vSpaModel", getvSpaModel())
            .append("vSpaBrand", getvSpaBrand())
            .append("vUnit", getvUnit())
            .append("nQty", getnQty())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("vProjectNo", getvProjectNo())
            .append("vProjectDec", getvProjectDec())
            .append("vContractNo", getvContractNo())
                .append("nThisQty", getnThisQty())
            .toString();
    }
}
